package cn.jdy.plugins.entity;

import cn.jdy.common.bo.BaseEntry;
import cn.jdy.platform.entity.ConfValue;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import java.io.Serializable;

/**
 * 新闻实体类 
 * 
 * @author daihu
 * 快递网点
 */
@Entity
public class FastMail extends BaseEntry implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)//根据数据库自动适配 mysql默认自增
	private Long id;        //主键
	private String area;
	private String company;      //公司名称
	private String brand;        //品牌
	private String address;  //地址
	private String telephone;    //服务电话
	private String queryphone;    //服务电话
	@Column(updatable = false) // 第一次增加之后不可修改
	private String userid;      //发布人
	private String username;    //发布人
	@Column(columnDefinition = "longtext")
  private String context;      //文本编辑
	public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  private String remark;      //备注
	private String lag;      //经度
	private String lat;      //纬度
	
  public String getArea() {
    return area;
  }

  public void setArea(String area) {
    this.area = area;
  }

  public String getLag() {
    return lag;
  }

  public void setLag(String lag) {
    this.lag = lag;
  }

  public String getLat() {
    return lat;
  }

  public void setLat(String lat) {
    this.lat = lat;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getCompany() {
    return company;
  }

  public void setCompany(String company) {
    this.company = company;
  }

  public String getBrand() {
    return brand;
  }

  public void setBrand(String brand) {
    this.brand = brand;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public String getUserid() {
    return userid;
  }

  public void setUserid(String userid) {
    this.userid = userid;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getQueryphone() {
    return queryphone;
  }

  public void setQueryphone(String queryphone) {
    this.queryphone = queryphone;
  }

  public String getContext() {
    return context;
  }

  public void setContext(String context) {
    this.context = context;
  }



	
}
